package com.dkm.biz.gl.persistence.dao.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.dkm.base.db.mybatis.dao.MyBatisQueryDaoImpl;
import com.dkm.biz.gl.persistence.dao.GlFilterVocabularyQueryDao;
import com.dkm.biz.gl.persistence.entity.GlFilterVocabularyPo;

/**
 * 对象功能:敏感词过滤词汇 QueryDao接口的实现
 * 开发公司:SKG.COM
 * 开发人员:HLX
 * 创建时间:2015-10-21 11:15:49
 */
@Repository
public class GlFilterVocabularyQueryDaoImpl extends MyBatisQueryDaoImpl<String, GlFilterVocabularyPo> implements GlFilterVocabularyQueryDao{

    @Override
    public String getNamespace() {
        return GlFilterVocabularyPo.class.getName();
    }

	@Override
	public List<GlFilterVocabularyPo> findByWord(String word) {
		Map<String, Object> params=new HashMap<String, Object>();
		params.put("word", word);		
		return findByKey("findByWord", params);

	}
	
}
